<!DOCTYPE html>
<html>
<head>
    <title>商铺详情</title>
    <link rel="stylesheet" type="text/css" href="<?=base_url('public/css/common.css')?>"/>
    <link rel="stylesheet" type="text/css" href="<?=base_url('public/css/main.css')?>"/>
</head>
<body>
<div class="result-content">
    <table class="result-tab" width="100%">
        <tr>
            <th>ID</th>
            <th>名称</th>
            <th>账号</th>
            <th>权限</th>
            <th>提成比</th>
            <th>金额</th>
        </tr>
        <?php foreach($list as $k => $v):?>
        <tr>
            <td><?=$v['id']?></td>
            <?php if(!empty($v['user'])):?>
            <td><?=$v['user']['user_name']?></td>
            <td><?=$v['user']['username']?></td>
            <?php else:?>
            <td>--</td>
            <td>--</td>
            <?php endif;?>
            <td><?=$v['level_name']?></td>
            <td><?=$v['percentage']?> %</td>
            <td><?=$v['bull']?></td>
        </tr>
        <?php endforeach;?>
    </table>
    </div>
</div>
</body>
</html>